package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.SensorAlarmService;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class SensorAlarmJob extends QuartzJobBean {
	private SensorAlarmService tSensorAlarmService;
	

	public void settSensorAlarmService(SensorAlarmService tSensorAlarmService) {
		this.tSensorAlarmService = tSensorAlarmService;
	}


	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		tSensorAlarmService.statSensorAlarm();
	}

}
